package com.jyw.business.ins.domain.dto.wechat;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author 沈峻
 * @ClassName WechatRectifyUnitPageDto
 * @Description 小程序-异常整改单元响应
 * @Date 2023/9/27 14:04
 **/
@Data
@ApiModel("小程序-异常整改单元响应")
public class WechatRectifyUnitPageDto {

    @ApiModelProperty("关键字")
    private String keyword;

    @ApiModelProperty("单元目录")
    private List<String> directory;

    @ApiModelProperty("整改状态 -1超时未整改 0待整改 1已整改")
    private List<Integer> isRectify;

    @ApiModelProperty("整改人")
    private List<Long> rectifyUserIdList;

    @ApiModelProperty("巡检人")
    private List<Long> inspectUserIdList;

    @ApiModelProperty("整改开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date rectifyStartTime;

    @ApiModelProperty("整改结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date rectifyEndTime;
}
